<template>
    <div class="abs" :style="stylePx(style)" v-drag="id">
        <button>按钮</button>
    </div>
</template>

<script setup lang="ts">
import { defineProps } from 'vue'
import { stylePx } from '../../utils'

const { style, id } = defineProps(["style", "id"])
</script>

<style scoped></style>